<template>
  <div class="big-screen-header"><div v-html="title" class="gsap-title"></div></div>
</template>

<script lang="ts" setup>
//支持3D 饼状图 和 环状图
// @ts-ignore
import {getCurrentInstance, onMounted, ref} from "vue";
// @ts-ignore
import screenConfig from "@/components/global/bigscreen/screen_config";

defineOptions({
  name: "BigScreenHeader"
});
const props = defineProps({
   title:{type:String,default:'测试大屏标题测试测试'}
});
import gsap from "gsap";
onMounted(()=>{
  setTimeout(()=>{
    gsap.to(".gsap-title", { x: '710px' });
  },1000)
})
</script>

<style scoped>

</style>